package main;

import java.awt.Canvas;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;

import javax.accessibility.AccessibleContext;





public class MainFrame extends Canvas {
	

	public AccessibleContext a() {
		return getAccessibleContext();
	}
	
	public void setUp() {
		setVisible(true);
		log("------------- Canvas Variables ----------");
		log(isDisplayable());
		log(isEnabled());
		log(isFocusable());
		log(isShowing());
	
		log("-----------------------------------------");
		
	}
	@Override
	public void paint(Graphics g) {
		log("Called");
		g.drawString("hi", 300, 300);
	}
	void log(String s) {
		System.out.println(s);
	}
	void log(boolean b) {
		System.out.println(b);
		
	}
	public MainFrame() {

	}
	
	
	
		}
	
	
	
	
	
	


